{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/header.html"}
<!--header stop-->
{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/common/headerusertitle.html"}
<!--header end-->
<div class="wp_fixed" style="top:48px;">
<section class="wrap">
    <ul class="user_g">
        <li ><a href="/user/userinfos">用户信息</a></li>
        <li class="curr"><a href="/user/company" >公司信息</a></li>
    </ul>
    <!--content stop-->
    <section class="shopping-wrap mt10p">
        <ul class="to-c" style="background:#fff;">
            {foreach from=$cpl key=key item=item}
            <li><a href="/user/editcompany/id/{$item.id}"> <span class="">{$item.business_name}</span></a>
                {if $item.is_default eq 'Y'}
                <span class="yellow fr">已默认</span>
                {else}
                <span class="blue fr"><a href="/user/setdefault/inv_id/{$item.id}">设置默认</a></span>
                {/if}
            </li>
            {/foreach}
        </ul>
    </section>

    <div class="wp_fixed">
        <p class="about_us"><a href="/user/addcompany"><span class="fl">新增公司信息</span><span></span><i></i></a></p>
    </div>

    <!--content end-->

    

</section>

<!--content end-->
</div>
{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/footer.html"}
